import http from "@/api/axios";

//列表
export const getPasswordConfigApi = () => {
  return http({
    method: "post",
    url: "/base/biz/passwordConfig/list"
  });
};

// 密码配置-新增
export const addPasswordConfiggApi = (data: PasswordManagement.AddForm) => {
  return http({
    method: "post",
    url: "/base/biz/passwordConfig/add",
    data
  });
};

// 密码配置-编辑
export const editPasswordConfiggApi = (data: PasswordManagement.AddForm) => {
  return http({
    method: "post",
    url: "/base/biz/passwordConfig/edit",
    data
  });
};
